package com.badou.project.rest;

public enum ReturnCodeEnum {
	SUCCESS("SUCCESS","请求成功"),
	FAIL("FAIL","请求失败"),
	POST_DATA_EMPTY("POST_DATA_EMPTY","必要字段为空"),
	LACK_PARAMS("LACK_PARAMS","缺少参数"),
	APPID_NOT_EXIST("APPID_NOT_EXIST","开发者账号不存在");
	
	ReturnCodeEnum(String returnCode,String returnMsg){
		this.returnCode = returnCode;
		this.returnMsg = returnMsg;
	}
	

	private String returnCode;
	
	private String returnMsg;
	
	public String getReturnCode() {
		return returnCode;
	}

	public String getReturnMsg() {
		return returnMsg;
	}
}
